package com.sgcc.operate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 内容效能评估对象 o_content_stat
 * 
 * @author sgcc
 * @date 2021-03-31
 */
public class OContentStat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日报统计日期，统计到日 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "日报统计日期，统计到日", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date statDate;

    /** 统计类型，1-日、2-月、3年、4小时 */
    @Excel(name = "统计类型，1-日、2-月、3年、4小时")
    private String stattype;

    /** 供电单位，统计到9地市+省公司 */
    @Excel(name = "供电单位，统计到9地市+省公司")
    private String orgNo;

    /** 内容状态，采用标准编码conStatus */
    @Excel(name = "内容状态，采用标准编码conStatus")
    private String conStatus;

    /** 阅读数 */
    @Excel(name = "阅读数")
    private Long nRead;

    /** 阅读人数 */
    @Excel(name = "阅读人数")
    private Long nPRead;

    /** 分享数 */
    @Excel(name = "分享数")
    private Long nShare;

    /** 投放数 */
    @Excel(name = "投放数")
    private Long nPub;

    private String userDeptId;

    private String startTime;

    private String endTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setStatDate(Date statDate)
    {
        this.statDate = statDate;
    }

    public Date getStatDate() 
    {
        return statDate;
    }
    public void setStattype(String stattype) 
    {
        this.stattype = stattype;
    }

    public String getStattype() 
    {
        return stattype;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }
    public void setConStatus(String conStatus) 
    {
        this.conStatus = conStatus;
    }

    public String getConStatus() 
    {
        return conStatus;
    }
    public void setnRead(Long nRead) 
    {
        this.nRead = nRead;
    }

    public Long getnRead() 
    {
        return nRead;
    }
    public void setnPRead(Long nPRead) 
    {
        this.nPRead = nPRead;
    }

    public Long getnPRead() 
    {
        return nPRead;
    }
    public void setnShare(Long nShare) 
    {
        this.nShare = nShare;
    }

    public Long getnShare() 
    {
        return nShare;
    }
    public void setnPub(Long nPub) 
    {
        this.nPub = nPub;
    }

    public Long getnPub() 
    {
        return nPub;
    }

    public String getUserDeptId() {
        return userDeptId;
    }

    public void setUserDeptId(String userDeptId) {
        this.userDeptId = userDeptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("statDate", getStatDate())
            .append("stattype", getStattype())
            .append("orgNo", getOrgNo())
            .append("conStatus", getConStatus())
            .append("nRead", getnRead())
            .append("nPRead", getnPRead())
            .append("nShare", getnShare())
            .append("nPub", getnPub())
            .toString();
    }
}
